package com.zc.basic.domain.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotBlank;

@TableName(value = "pcmc_user")
public class PcmcUser {

    @TableId
    private Integer userId;
    @TableField
    @NotBlank
    private String userCode;
    @TableField
    private String userName;
    @TableField
    private String password;
    @TableField
    private Integer deptId;
    @TableField
    private String postCode;
    @TableField
    private String disabled;

    public PcmcUser(Integer userId, @NotBlank String userCode, String userName, String password, Integer deptId, String postCode, String disabled) {
        this.userId = userId;
        this.userCode = userCode;
        this.userName = userName;
        this.password = password;
        this.deptId = deptId;
        this.postCode = postCode;
        this.disabled = disabled;
    }

    public PcmcUser() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getDisabled() {
        return disabled;
    }

    public void setDisabled(String disabled) {
        this.disabled = disabled;
    }

    @Override
    public String toString() {
        return "PcmcUser{" +
                "userId=" + userId +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", deptId=" + deptId +
                ", postCode='" + postCode + '\'' +
                ", disabled='" + disabled + '\'' +
                '}';
    }
}
